﻿{extend name="public/base" /}
{block name="content"}

<section id="content">
                    <section class="vbox">
                        <section class="scrollable padder">
                            <ul class="breadcrumb no-border no-radius b-b b-light pull-in">
                                <li><a href="{:url('index')}"><i class="fa fa-home"></i> 首页</a></li>
                                <li class="active">个人中心</li>
                            </ul>

                            <section class="panel panel-default">
                                <header class="panel-heading font-bold"> 
                                    数据表单  &nbsp;&nbsp;&nbsp;
                                    <i class="fa fa-refresh text-danger text refresh"  title="刷新" style="cursor:pointer;" ></i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <i class="fa fa-reply text-danger text goback"   title="返回" style="cursor:pointer;" ></i>
                                </header>
                                <div class="panel-body">
                                    <form id="ajaxForm_reload" class="form-horizontal" method="post" action="">

                                        <div class="form-group">
                                            <label class="col-sm-2 control-label">头像</label>
                                            <div class="col-sm-10 head_pic_box" style="background-image: url();">
                                                <input type="file" id="headpic_upload_button"  />
                                            </div>

                                        </div>
                                        <div class="line line-dashed line-lg pull-in"></div>
                                       
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label">登录账号</label>
                                            <div class="col-sm-10">
                                                <input type="text" required readonly value="{$person.admin_username|default=''}" class="form-control" placeholder="placeholder">
                                            </div>
                                        </div>
                                        <div class="line line-dashed line-lg pull-in"></div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label">昵称</label>
                                            <div class="col-sm-10">
                                                <input type="text" maxlength="16" value="{$person.admin_nickname|default=''}" class="form-control" name="admin_nickname" placeholder="个人昵称">
                                            </div>
                                        </div>
                                        <div class="line line-dashed line-lg pull-in"></div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label">真实姓名</label>
                                            <div class="col-sm-10">
                                                <input type="text" maxlength="8" value="{$person.admin_realname|default=''}" class="form-control" name="admin_realname" placeholder="个人真实姓名">
                                            </div>
                                        </div>

                                        <div class="line line-dashed line-lg pull-in"></div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label">手机号码</label>
                                            <div class="col-sm-10">
                                                <input type="text" minlength="11" maxlength="11" value="{$person.admin_mobile|default=''}" name="admin_mobile" class="form-control" placeholder="个人手机号码，常联系哦~">
                                            </div>
                                        </div>

                                        <div class="line line-dashed line-lg pull-in"></div>

                                        <!-- <div class="form-group">
                                            <label class="col-sm-2 control-label">个性签名</label>
                                            <div class="col-sm-10">
                                                <input type="text" maxlength="128" value="{$person.admin_signature|default=''}" class="form-control" name="admin_signature" placeholder="我的个性签名">
                                            </div>
                                        </div> -->
                                        <!-- <div class="line line-dashed line-lg pull-in"></div> -->

                                        <div class="form-group">
                                            <label class="col-sm-2 control-label">性别</label>
                                            <div class="col-sm-10">
                                                
                                                <div class="radio">
                                                    <label>
                                                        <input type="radio" name="sex" id="optionsRadios1" value="1" {if condition="$person['sex'] eq 1"}checked{/if}  > 男 </label>
                                                    
                                                </div>
                                                <div class="radio">
                                                    <label>
                                                        <input type="radio" name="sex" id="optionsRadios2" value="2" {if condition="$person['sex'] eq 2"}checked{/if}  > 女 </label>
                                                </div>
                                            </div>

                                        </div>
                                        <div class="line line-dashed line-lg pull-in"></div>
  
                                        <div class="form-group">
                                            <div class="col-sm-4 col-sm-offset-2">
                                                <button type="reset" class="btn btn-default">重 置</button>
                                                <button type="submit" class="btn btn-primary">确 认 保 存</button>
                                            </div>
                                        </div>
                                    </form>
                                </div>
                            </section>
                        </section>
                    </section>
                    <a href="#" class="hide nav-off-screen-block" data-toggle="class:nav-off-screen" data-target="#nav"></a>
                </section>

{/block}